package com.haiyan.demo02_匿名对象;

public class Test {
    public static void main(String[] args) {
        Student student1=new Student();
        new Student();
        new Student();

        student1.show();
        new Student().show();
        new Student().show();

        method(student1);
        method(new Student());
    }
    public static void method(Student stu)
    {

    }
}
